home *** CD-ROM | disk | FTP | other *** search
-
-
- EDITOR USER COMMANDS 03-Jul-91
-
-
- NAME
- editor - Edit a named file with a full-srceen editor
-
- SYNOPSIS
- editor filename
-
- DESCRIPTION
- Editor is a tool for editing files. It is not only used by
- user, but by mail and news programs also. This makes it
- recommended that you learn to fully use this editor. The
- editor uses vt100-type emulation codes and should also work
- vith ansi-terminals. Editor allows several cursor movement
- codes. You can use either vt100, vt102 or amiga cursor
- codes. The editor won't allow control characters to be
- typed into a file.
-
- The editor is always in insert mode. So, everything you
- type appears in the current cursor position and the rest of
- the line (if any) moves accordingly. There is no so called
- overtype-mode in this editor. On other hand, there is an
- automatic wrap to prevent too long lines.
-
- COMMANDS
- CR,LF Insert line, Adds a new line in the cursor position
- and moves the rest of the line to a new line.
- BS,DEL Remove a character, Deletes a character and if it is
- a new line, tries to move the data to the previous
- line.
-
- ESC v Moves the cursor and display up for one page
- ctrl-v Moves the cursor and display down for one page
- ESC < Goto the beginning of the file (first page)
- ESC > Goto the EOF (last page)
-
- cursor movements: (<cio> is a command introducer in amiga)
-
- <cio>A, ESC[A or ctrl-p up one line
- <cio>B, ESC[B or ctrl-n down one line
- <cio>C, ESC[C or ctrl-f right one position
- <cio>D, ESC[D or ctrl-b left one position
-
- ctrl-x q Save and quit
- ctrl-x c Quit without saving
- ctrl-x s Save the file
- ctrl-x w Write the file with a new name
- ctrl-x i Insert a named file to the cursor position
-
- ctrl-e Goto the end of the current line
- ctrl-k Remove line/delete to end of line
- ctrl-l Refresh screen
- ctrl-z Save and quit (many screen editors uses this)
-
-
- AUTHOR
- Pasi 'Albert' Ojala, E-mail: po87553@cs.tut.fi
-
- FILES
- filename Name of the editable file
- AXsh:bin/editor Editor
-
- SEE ALSO
- mail, rn, more
-
- BUGS
- No bugs found. Contributions welcomed
-
- NOTES
- The insert file -command don't append to the actual cursor
- position, but to the next line. Anyway, you can manually
- correct this odd behaviour.
-
-